package com.tedu.jsd2407_ivos_fzj.application.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;
@Data
public class ApplicationSaveParam {
    @ApiModelProperty(value = "申请单id")
    private Long id;
    @ApiModelProperty(value = "申请人id")
    private Long userId;
    @ApiModelProperty(value = "申请人名字")
    private String username;
    @ApiModelProperty(value = "用车开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:ss:mm")
    private Date startTime;
    @ApiModelProperty(value = "用车结束时间")
    @DateTimeFormat
    private Date endTime;
    @ApiModelProperty(value = "驾照图片")
    private String imgUrl;
    @ApiModelProperty(value = "出发地")
    private String departureAddr;
    @ApiModelProperty(value = "目的地")
    private String destinationAddr;
    @ApiModelProperty(value = "用车原因")
    private String reason;
    @ApiModelProperty(value = "其他备注信息")
    private String remark;

    /*瞬态属性*/
    @ApiModelProperty(value = "审批人id集合")
    private List<Long> auditUserIdList;//
    @ApiModelProperty(value="审批人姓名字符串")
    private String auditUsernameStr;
}
